package com.wtwd.wtwddevice.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wtwd.wtwddevice.mapper.AlarmHealthMapper;
import com.wtwd.wtwddevice.model.entity.AlarmHealth;
import com.wtwd.wtwddevice.service.IAlarmHealthService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AlarmHealthServiceImpl extends ServiceImpl<AlarmHealthMapper, AlarmHealth> implements IAlarmHealthService {
    @Autowired
    private AlarmHealthMapper alarmHealthMapper;
    @Override
    public int addAlarmHealth(AlarmHealth alarmHealth) {
        return alarmHealthMapper.addAlarmHealth(alarmHealth);
    }
}
